package com.zn.mapper;

import com.zn.entity.CustomerBankInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CustomerBankInfoMapper {
    int insertSelective(CustomerBankInfo record);
    List<CustomerBankInfo> selectByCustomerId(@Param("customerId") String customerId);
    CustomerBankInfo selectByCustomerIdAndBankNo(@Param("customerId")String customerId,@Param("bankNo")String bankNo);
    int unbindBank(CustomerBankInfo customerBankInfo);
    CustomerBankInfo selectByPrimaryKey(@Param("bankInfoId")String bankInfoId,@Param("customerId")String customerId);
    int unSelectBank(CustomerBankInfo customerBankInfo);
    int selectBank(CustomerBankInfo customerBankInfo);
}